﻿using System;

namespace StockAnalyst2.StockGrid
{
	internal class CellDateTimeVM : CellVM
	{
		#region Attributes

		private DateTime? _value;

		#endregion

		#region Properties

		public DateTime? Value
		{
			get
			{
				return _value;
			}
			set
			{
				if (_value != value)
				{
					if (_value != null)
					{
						base.IsNotFirstValue = true;
					}
					
					_value = value;
					base.OnPropertyChanged("Value");
				}
			}
		}

		#endregion

	}
}
